<template>

    <div class="w100 h100">
        <div id="exceltable" class="w100" style="height: 95%;">
        </div>
        <el-button @click="exportsss">
            125345
        </el-button>
    </div>

</template>

<script>
export default {
    name: '',
    components: {},
    data() {
        return {
        }
    },
    created() { },
    mounted() {
        var options = {
            container: 'exceltable', //luckysheet为容器id
            title: "test",
            lang: 'zh',
            // row: 10,
            // column: 10,
            showtoolbar: true,//是否显示工具栏
            showinfobar: false,//是否显示顶部信息栏
            showsheetbar: true,//是否显示底部sheet按钮
            allowEdit: true,//是否允许前端编辑
        }
        luckysheet.create(options)
    },
    methods: {
        exportsss() {
           let a =  luckysheet.getAllSheets()
           console.log(a)
           console.log(new Date())
        }

    }
}
</script>
<style scoped lang='scss'>
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}
</style>
